Skip to content

Add support for gitlab in pypi, npm, gem version ranges - #68

Merged
TG1999 merged 1 commit into
aboutcode-org:mainfrom
TG1999:gitlab_version_ranges
May 12, 2022
Merged

Add support for gitlab in pypi, npm, gem version ranges#68
TG1999 merged 1 commit into
aboutcode-org:mainfrom
TG1999:gitlab_version_ranges

Conversation

@TG1999

@TG1999 TG1999 commented May 10, 2022

Copy link
Copy Markdown
Contributor

Signed-off-by: Tushar Goel tushar.goel.dav@gmail.com

@TG1999
TG1999 force-pushed the gitlab_version_ranges branch from 37fa346 to 0e79a2c Compare May 10, 2022 19:20

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ... see a few comments. BTW how di you assemble the test cases? They look great!

Comment thread src/univers/version_range.py Outdated
Comment thread src/univers/version_range.py Outdated
Comment thread src/univers/version_range.py Outdated
Comment thread src/univers/version_range.py Outdated
Comment thread src/univers/version_range.py Outdated
Comment thread src/univers/version_range.py Outdated
Comment thread src/univers/version_range.py Outdated
@TG1999
TG1999 force-pushed the gitlab_version_ranges branch from 0e79a2c to ee6f0a9 Compare May 11, 2022 11:32
@TG1999

TG1999 commented May 11, 2022

Copy link
Copy Markdown
Contributor Author

Thanks ... see a few comments. BTW how di you assemble the test cases? They look great!

@pombredanne I ran gitlab importer in VulnerableCode and logged the versions, that we were not able to parse

That's awesome! I think we should have a few that were parsed alright too for good measure,

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Here are a few extra nits for your review.

Comment thread src/univers/version_range.py Outdated
Comment thread tests/data/gem_gitlab.txt Outdated
Comment thread tests/test_version_range.py Outdated
Comment thread tests/test_version_range.py Outdated
@TG1999
TG1999 force-pushed the gitlab_version_ranges branch from ee6f0a9 to 095b643 Compare May 11, 2022 14:38
Comment thread src/univers/version_range.py
Comment thread tests/data/pypi_gitlab.txt Outdated

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates. Just a few nits left for your consideration and then please go ahead to merge and release!

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
@TG1999
TG1999 force-pushed the gitlab_version_ranges branch from 095b643 to 9a460be Compare May 12, 2022 09:17
@TG1999
TG1999 merged commit e8fdf82 into aboutcode-org:main May 12, 2022
keshav-space pushed a commit that referenced this pull request Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants